package com.zhaorui.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@TableName(value ="PrizeDownLoad")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PrizeDownLoad implements Serializable {
    @ExcelProperty("id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 奖品名称
     */
    @ExcelProperty("奖品名称")
    private String prizeName;

    /**
     * 图片
     */
    @ExcelProperty("图片")
    private String prizePic;
    /**
     * 简介：说明
     */
    @ExcelProperty("简介说明")
    private String prizeExplain;

    /**
     * 价格1
     */
    @ExcelProperty("价格")
    private BigDecimal prizePrice;
    @ExcelProperty(" ")
    private BigDecimal prizePrice2;
}
